package com.xxl.sso.server.service;

import com.xxl.sso.server.core.model.UserInfo;
import com.xxl.sso.server.core.result.ReturnT;

public interface UserService {

    ReturnT<UserInfo> findUser(String username, String password);

    ReturnT<UserInfo> findUser(String code);

    ReturnT<UserInfo> findUserByEmployeeCode(String employeeCode);

    UserInfo getUserInfo(Long userId);

    Integer getRegisteredUserCount();
}
